import glob
import os

os.chdir('../lib')

css_files = glob.glob('css/*.css')

out_file = open('all.css', 'w')
for css_file in css_files:
  in_file = open(css_file, 'r')
  out_file.write(in_file.read())
  in_file.close()
out_file.close()

os.chdir('../py')
